// AskName.h : interface of the CAskName class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(VFC_ASKNAME_H__2B44E3C7_0225_4f2b_8DF8_96059A2E7DEF__INCLUDED_)
#define VFC_ASKNAME_H__2B44E3C7_0225_4f2b_8DF8_96059A2E7DEF__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

class CAskName : public CDialogImpl<CAskName>
{
public:
	CString name;
	enum { IDD = IDD_AskName };


	BEGIN_MSG_MAP(CAskName)
		COMMAND_HANDLER(IDC_NAME, EN_CHANGE, OnEnChangeName)
		MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
		COMMAND_ID_HANDLER(IDOK, OnOK)
		COMMAND_ID_HANDLER(IDCANCEL, OnCancel)
	END_MSG_MAP()

// Handler prototypes (uncomment arguments if needed):
//	LRESULT MessageHandler(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/)
//	LRESULT CommandHandler(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/)
//	LRESULT NotifyHandler(int /*idCtrl*/, LPNMHDR /*pnmh*/, BOOL& /*bHandled*/)

	LRESULT OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/);
	LRESULT OnOK(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/);
	LRESULT OnCancel(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/);
	LRESULT OnEnChangeName(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// VisualFC AppWizard will insert additional declarations immediately before the previous line.
#endif // !defined(VFC_ASKNAME_H__2B44E3C7_0225_4f2b_8DF8_96059A2E7DEF__INCLUDED_)
